package com.buba.aspect.service.impl;

import com.buba.aspect.dao.LogMapper;
import com.buba.aspect.pojo.Log;
import com.buba.aspect.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {
    private LogMapper logMapper;

    @Override
    public void addLog(Log log) {
        logMapper.addLog(log);
    }


    public LogMapper getLogMapper() {
        return logMapper;
    }
    @Autowired
    public void setLogMapper(LogMapper logMapper) {
        this.logMapper = logMapper;
    }
}
